import request from '@/utils/request'

// 查询【用印外带】列表
export function listOaSealOut(query) {
  return request({
    url: '/out/oaSealOut/list',
    method: 'get',
    params: query
  })
}

// 查询【用印外带】详细
export function getOaSealOut(id) {
  return request({
    url: '/out/oaSealOut/' + id,
    method: 'get'
  })
}

// 保存【用印外带】
export function saveOaSealOut(data) {
  return request({
    url: '/out/oaSealOut/save',
    method: 'post',
    data: data
  })
}

// 删除【用印外带】
export function delOaSealOut(id) {
  return request({
    url: '/out/oaSealOut/' + id,
    method: 'delete'
  })
}

// 删除【文件详细】
export function delOaSealOutFile(id) {
  return request({
    url: '/out/oaSealOut/delFile/' + id,
    method: 'delete'
  })
}

// 删除【印章详细】
export function delOaSealOutSeal(id) {
  return request({
    url: '/out/oaSealOut/delSeal/' + id,
    method: 'delete'
  })
}
